<?= $this->load->view('tp-admin/func/message') ?>
<!-- start id-form -->
<?= form_open() ?>
<table border="0" cellpadding="0" cellspacing="0" style="text-align: left" id="id-form">
    <tbody><tr>
            <th valign="top"><label>Tiêu đề:</label></th>
            <td><input type="text" name="news_title" class="inp-form"/></td>
            <td> <?= form_error('news_title'); ?></td>
        </tr>
        <tr>
            <th valign="top"><label>Nội dung ngắn:</label></th>
            <td>
                <textarea name="news_short_content">

                </textarea>
            </td>
            <td><?= form_error('news_short_content'); ?>
            </td>
        </tr>
        <tr>
            <th valign="top"><label>Nội dung:</label>  </th>
            <td>	
                <?= $this->load->view('tp-admin/func/news-editor') ?>        
            </td>
            <td><?= form_error('news_content'); ?></td>
        </tr>
        <tr>
            <th valign="top"><label>Người đăng:</label>  </th>
            <td>	
                <input value="Tấn phát" type="text" name="news_author" class="inp-form"/>     
            </td>
            <td></td>
        </tr>
        <tr>
            <th valign="top"><label>Nguồn:</label>  </th>
            <td>	
                <input type="text" name="news_source" class="inp-form"/>     
            </td>
            <td></td>
        </tr>

        <tr>
            <th>&nbsp;</th>
            <td valign="top">
                <input type="submit"  value="Thêm"  name="submit" class="form-submit"/>
                <input type="reset" value="Xóa trắng" class="form-reset"/>
            </td>
            <td></td>
        </tr>
    </tbody></table>
<!-- end id-form  -->
</form>